<?php
namespace app\common\system\model;


use think\Model;

class Attachment extends Model
{
    protected $table = "tk_system_attachment";

    public function getUrlAttr($value, $data) {
        $domain = request()->domain();
        return $domain.$data['att_dir'];
    }
}